{extend name="public/base" /}
{block name="title"}{article:view aid="aid" id='art' assign="article"}{/article:view}{$article.title}{/block}
{block name='keywords'}{$article.keywords}{/block}
{block name='description'}{$article.description}{/block}
{block name="body"}
	<div class="container-wrap">
		<div class="container container-message container-details">
			<div class="contar-wrap">
				<div class="item">
					<div class="item-box  layer-photos-demo1 layer-photos-demo">
						<h3><a href="">{$article.title}</a></h3>
						<h5>作者 :  <span >{$article.user.nickname}</span>, 发布于：<span>{$article.create_time|date="Y-m-d H:i"}</span></h5>
						<article>
							{$article.content|raw}
						</article>
						<img src="{$article.thumbImage.full_thumb_image_url}" alt="">
						<div class="count layui-clear">
							<span class="pull-left">阅读 <em>{$article.read_count}</em></span>
							<!--<span class="pull-right like"><i class="layui-icon layui-icon-praise"></i><em>999</em></span>-->
						</div>
					</div>
				</div>
				<a name="comment"> </a>
				<div class="comt layui-clear">
					<a href="javascript:;" class="pull-left">评论</a>
					<a href="{:url('cms/Comment/index', ['aid' => $aid])}" class="pull-right">写评论</a>
				</div>
				<div id="LAY-msg-box">
					{if condition="$comments" empty="暂无评论留言！"}
					{volist name='comments' id='comment'}
					<div class="info-item">
						<img class="info-img" src="__PUBLIC__/theme/xianyan/images/info-img.png" alt="">
						<div class="info-text">
							<p class="title count">
								<span class="name">{$comment.author}</span>
								<!--<span class="info-img like"><i class="layui-icon layui-icon-praise"></i>5.8万</span>-->
								<span class="info-img ">{$comment.create_time|date="Y-m-d H:i"}</span>
							</p>
							<p class="info-intr">{$comment.content}</p>
						</div>
					</div>
					{/volist}
					<!--<div class="info-item">-->
						<!--<img class="info-img" src="__PUBLIC__/theme/xianyan/images/info-img.png" alt="">-->
						<!--<div class="info-text">-->
							<!--<p class="title count">-->
								<!--<span class="name">一片空白</span>-->
								<!--<span class="info-img like"><i class="layui-icon layui-icon-praise"></i>5.8万</span>-->
							<!--</p>-->
							<!--<p class="info-intr">父爱如山，不善表达。回想十多年前，总记得父亲有个宽厚的肩膀，小小的自己跨坐在上面，越过人山人海去看更广阔的天空，那个时候期望自己有一双翅膀，能够像鸟儿一样飞得高，看得远。虽然父亲有时会和自己开玩笑，但在做错事的时候会受到严厉的训斥。父亲有双粗糙的大手掌。</p>-->
						<!--</div>-->
					<!--</div>			-->
					<div class="item-btn" >
						{$comments->render()|raw}
					</div>
					{/if}
				</div>
				<!--<div class="layui-box layui-laypage layui-laypage-molv" id="layui-laypage-1">-->
					<!--<a href="javascript:;" class="layui-laypage-prev" data-page="4">上一页</a>-->
					<!--<a href="javascript:;" data-page="1">1</a>-->
					<!--<a href="javascript:;" data-page="2">2</a>-->
					<!--<a href="javascript:;" data-page="3">3</a>-->
					<!--<a href="javascript:;" data-page="4">4</a>-->
					<!--<span class="layui-laypage-curr"><em class="layui-laypage-em" style="background-color:#1e9fff;"></em><em>5</em></span>-->
					<!--<a href="javascript:;" class="layui-laypage-next layui-disabled" data-page="6">下一页</a>-->
				<!--</div>-->

			</div>
		</div>
	</div>
{/block}